﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace brand.admin.cyt369.com.services.Models
{
    /// <summary>
    /// 城市表
    /// </summary>
    [Table("TB_City")]
    public class City
    {
        public int Id {  get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public int ProvinceID { get; set; }

        /// <summary>
        /// 城市名称
        /// </summary>
        public string CityName { get; set; }

        /// <summary>
        /// 简称
        /// </summary>
        public string? ShortName { get; set; }

        /// <summary>
        /// 维度
        /// </summary>
        public decimal? Latitude {  get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public decimal? Longitude { get; set; }

        /// <summary>
        /// 顺序号
        /// </summary>
        public int Sequence {  get; set; }

        /// <summary>
        /// 是否热门
        /// </summary>
        public bool IsHot {  get; set; }

        /// <summary>
        /// 创建/修改时间
        /// </summary>
        public DateTime ChangedTime { get; set; }

    }
}
